package org.bee.enums;

import org.bee.annotation.EnumsDict;

/**
 * 用户状态
 */
@EnumsDict(value = "userStatus", desc = "用户状态")
public enum UserStatus implements IEnum{
    NORMAL("0", "正常"),
    FREEZE("1", "冻结");

    private final String code;
    private final String desc;

    UserStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
